local skel = fk.CreateSkill {
  name = "emo__xinyang",
  tags = {Skill.Compulsory},
}

--- 死后发动
skel:addEffect(fk.HpRecover, {
  can_trigger = function (self, event, target, player, data)
    return player:hasSkill(skel.name, true, true) and target == player and not player:isWounded() and player.dead
  end,
  on_use = function (self, event, target, player, data)
    local room = player.room
    room:revivePlayer(player, true, self.name)
    --player:chat(string.format("$%s:%d", skel.name, 1))
  end,
})


Fk:loadTranslationTable{
  ["emo__xinyang"] = "信仰",
  [":emo__xinyang"] = "锁定技，当你回复满体力后，你复活。",

  ["$emo__xinyang1"] = "孩子们，要相信光",
}

return skel
